<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<include file="__VIEW__/Common/memberTop" />
		
		<!--个人中心导航结束-->
		<div class="defaultIndex">
			<include file="__VIEW__/Common/memberLeft" />
			<div class="jfBox">
				<ul class="wsmjTab3">
					<li <if value="$_GET['a']=='myOrder'"> class="current" </if> style="border-left: 1px solid #DFDFDC;"><a href="javascript:;">我的订单</a></li>
					<li <if value="$_GET['a']=='noSend'"> class="current" </if>><a href="javascript:;">待发货</a></li>
					<li><a href="javascript:;">已完成</a></li>
					<li><a href="javascript:;">待评价</a></li>
				</ul>
				<!--我的订单开始-->
				<div class="box" style="padding-top: 20px;">
					<table cellpadding="0" cellspacing="0"width="730" style="margin: 25px auto;">
						<tr>
							<td bgcolor="#e8e8e8" height="3" colspan="7"></td>
						</tr>
						<tr bgcolor="#F5F5F1" style="font-size: 12px;font-weight: 700;color: #5C5C5C;height: 40px;" align="center">
							<td width="230" colspan="2">宝贝</td>
							<td width="184">宝贝单价</td>
							<td width="102">数量</td>
							<td width="139">合计</td>
						</tr>
						<tr>
							<td bgcolor="#DFDFDF" height="1" colspan="7"></td>
						</tr>
						<foreach from="$unpaid" value="$data" key="$key">
							<foreach from="$data" value="$v" key="$k">
								<tr style="font-size: 12px;color: #5C5C5C;line-height: 30px;" align="center">
									<td width="60">
										<a href="{|U:'Goods/index',array('gid'=>$v['gid'])}" target="_blank" class="title_img">
											<img src="__ROOT__/{$v.pic}" width="54" height="54"/>
										</a>
									</td>
									<td width="170">
										<a href="{|U:'Goods/index',array('gid'=>$v['gid'])}" class="title" target="_blank" >{$v.gname}</a>
										<br />
										颜色:{$v.yanse}
										尺码:{$v.chima}
									</td>
									<td width="184" style="color: #FD834C;">￥{$v.unitPrice}</td>
									<td width="102">{$v.quantity}</td>
									<td width="139" style="color: #FD834C;">￥{$v.subtotal}</td>
								</tr>
								<tr>
									<td bgcolor="#DFDFDF" height="1" colspan="5"></td>
								</tr>	
							</foreach>
							<tr class="operate">
								<td colspan="7">
									订单总价(含运费):
									<?php $sum=0;?>
									<foreach from="$data" value="$v" key="$k">
										<?php $sum+=$v['subtotal']; ?>
									</foreach>
									<strong style="color: #FD834C;">￥{$sum|number_format:2}</strong>
									<a href=""><img src="__STATIC__/index/img/0503_i_btn4.png"/></a>
									<a href="javascript:;" onclick="if(confirm('您确认要取消订单吗？'))  location.href='{|U:'delOrder',array('oid'=>$v['oid'])}'"><img src="__STATIC__/index/img/0503_i_btn5.png"/></a>
								</td>
							</tr>
							<tr>
								<td bgcolor="#DFDFDF" height="1" colspan="5"></td>
							</tr>
						</foreach>
					</table>
				</div>
				<!--我的订单结束-->
				<!--待发货开始-->
				<!--<div class="box" style="padding-top: 20px;">
					<table cellpadding="0" cellspacing="0"width="730" style="margin: 25px auto;">
						<tr>
							<td bgcolor="#e8e8e8" height="3" colspan="7"></td>
						</tr>
						<tr bgcolor="#F5F5F1" style="font-size: 12px;font-weight: 700;color: #5C5C5C;height: 40px;" align="center">
							<td width="230">宝贝</td>
							<td width="184">宝贝单价</td>
							<td width="50">数量</td>
							<td width="100">合计</td>
							<td width="91">操作</td>
						</tr>
						<tr>
							<td bgcolor="#DFDFDF" height="1" colspan="7"></td>
						</tr>
						<tr style="font-size: 12px;color: #5C5C5C;line-height: 30px;" align="center">
							<td width="230">宝贝名称</td>
							<td width="184">单价</td>
							<td width="50">1</td>
							<td width="10">总价</td>
							<td width="91"><a href="">加入最爱</a></td>
						</tr>
						<tr>
							<td bgcolor="#DFDFDF" height="1" colspan="7"></td>
						</tr>
					</table>
				</div>-->
				<!--待发货结束-->
				<!--已完成开始-->
				<!--<div class="box" style="padding-top: 20px;">
					<table cellpadding="0" cellspacing="0"width="730" style="margin: 25px auto;">
						<tr>
							<td bgcolor="#e8e8e8" height="3" colspan="7"></td>
						</tr>
						<tr bgcolor="#F5F5F1" style="font-size: 12px;font-weight: 700;color: #5C5C5C;height: 40px;" align="center">
							<td width="230">宝贝</td>
							<td width="184">宝贝单价</td>
							<td width="50">数量</td>
							<td width="100">合计</td>
							<td width="91">操作</td>
						</tr>
						<tr>
							<td bgcolor="#DFDFDF" height="1" colspan="7"></td>
						</tr>
						<tr style="font-size: 12px;color: #5C5C5C;line-height: 30px;" align="center">
							<td width="230">宝贝名称</td>
							<td width="184">单价</td>
							<td width="50">1</td>
							<td width="10">总价</td>
							<td width="91"><a href="">加入最爱</a></td>
						</tr>
						<tr>
							<td bgcolor="#DFDFDF" height="1" colspan="7"></td>
						</tr>
					</table>
				</div>-->
				<!--已完成结束-->
				<!--待评价开始-->
				<!--<div class="box" style="padding-top: 20px;">
					<table cellpadding="0" cellspacing="0"width="730" style="margin: 25px auto;">
						<tr>
							<td bgcolor="#e8e8e8" height="3" colspan="7"></td>
						</tr>
						<tr bgcolor="#F5F5F1" style="font-size: 12px;font-weight: 700;color: #5C5C5C;height: 40px;" align="center">
							<td width="230">宝贝</td>
							<td width="184">宝贝单价</td>
							<td width="50">数量</td>
							<td width="100">合计</td>
							<td width="91">操作</td>
						</tr>
						<tr>
							<td bgcolor="#DFDFDF" height="1" colspan="7"></td>
						</tr>
						<tr style="font-size: 12px;color: #5C5C5C;line-height: 30px;" align="center">
							<td width="230">宝贝名称</td>
							<td width="184">单价</td>
							<td width="50">1</td>
							<td width="10">总价</td>
							<td width="91"><a href="">加入最爱</a>| <a href="">去评价</a> </td>
						</tr>
						<tr>
							<td bgcolor="#DFDFDF" height="1" colspan="7"></td>
						</tr>
					</table>
				</div>-->
				<!--待评价结束-->
			</div>
		</div>
		
		<div class="clear"></div>
		<!--底部开始-->
		<include file="__VIEW__/Common/footer" />
